import {
  JIN_CHU_DEFAULT,
  TimeDetail,
  TextDetail,
  StatusDetail,
  ENERGY,
  PV_SP,
  DEFAULT_MSG,
  STAGE_REMAIN_TIME,
  RUN_PGM_NO
} from "../../constant";
// 真空炉 基础信息
export const MAP_DEATIL_VACUUM_FURNACE_Z8 = {
  // 上部分
  ...DEFAULT_MSG,
  ...PV_SP,
  meter1PoutPercent: TextDetail(
    "downArea",
    "功率输出",
    "meter1PoutPercent",
    require("@/assets/images/shebeiIcon/msg_2.png")
  ),
  meter1AlmRealTemp: TextDetail(
    "downArea",
    "报警表测量温度",
    "meter1AlmRealTemp",
    require("@/assets/images/shebeiIcon/msg_2.png")
  ),
  meter1AlmControlTemp: TextDetail(
    "downArea",
    "报警表控制温度",
    "meter1AlmControlTemp",
    require("@/assets/images/shebeiIcon/msg_2.png")
  ),

  ...RUN_PGM_NO,
  meter1RunStageNO: TextDetail(
    "downArea",
    "阶段号",
    "meter1RunStageNO",
    require("@/assets/images/shebeiIcon/msg_2.png")
  ),
  ...STAGE_REMAIN_TIME,
  meter1RunPgmStageCoun: TextDetail(
    "downArea",
    "程序总段数",
    "meter1RunPgmStageCoun",
    require("@/assets/images/shebeiIcon/msg_2.png")
  ),

  vacuum: TextDetail(
    "downArea",
    "真空度",
    "vacuum",
    require("@/assets/images/shebeiIcon/msg_2.png"),
    "Pa"
  ),
  ...ENERGY,
  ...JIN_CHU_DEFAULT
};

// 表格-表单
export const VACUUM_FORMULA_INFO_Z8 = [
  // {
  //   label: "阶段",
  //   key: "stageId",
  //   value: "",
  //   type: "",
  //   stageId: ""
  // },
  {
    label: "设定温度℃",
    key: "oneExpandInfo",
    value: "",
    type: "input",
    oneExpandInfo: ""
  },
  {
    label: "设定时间",
    key: "twoExpandInfo",
    value: "",
    type: "input",
    twoExpandInfo: ""
  },
  {
    label: "保证",
    key: "threeExpandInfo",
    value: "",
    type: "radio",
    threeExpandInfo: "",
    defaultValue: "0",
    hide: true,
    options: [
      {
        label: "是",
        value: "1"
      },
      {
        label: "否",
        value: "0"
      }
    ]
  },
  {
    label: "分压",
    key: "fourExpandInfo",
    value: "",
    type: "radio",
    fourExpandInfo: "",
    defaultValue: "0",
    hide: true,
    options: [
      {
        label: "开",
        value: "1"
      },
      {
        label: "关",
        value: "0"
      }
    ]
  },
  {
    label: "fiveExpandInfo",
    key: "fiveExpandInfo",
    value: "",
    type: "radio",
    fiveExpandInfo: "",
    hide: true
  },
  {
    label: "sixExpandInfo",
    key: "sixExpandInfo",
    value: "",
    type: "radio",
    sixExpandInfo: "",
    hide: true
  },
  {
    label: "sevenExpandInfo",
    key: "sevenExpandInfo",
    value: "",
    type: "radio",
    sevenExpandInfo: "",
    hide: true
  },
  {
    label: "eightExpandInfo",
    key: "eightExpandInfo",
    value: "",
    type: "radio",
    eightExpandInfo: "",
    hide: true
  },
  {
    label: "nineExpandInfo",
    key: "nineExpandInfo",
    value: "",
    type: "radio",
    eightExpandInfo: "",
    hide: true
  },
  {
    label: "tenExpandInfo",
    key: "tenExpandInfo",
    value: "",
    type: "radio",
    eightExpandInfo: "",
    hide: true
  }
];

//  图表展示字段
export const CHART_KEYS_Z8 = [
  {
    key: "meter1RealTemp",
    label: "PV"
  },
  {
    key: "Vacuum",
    label: "真空度"
  }
];
